//
//  UILabel+extension.swift
//  SwiftWeibo
//
//  Created by 牟松 on 16/8/5.
//  Copyright © 2016年 DoNews. All rights reserved.
//

import UIKit

extension UILabel {
    
    convenience init(MS_Label text: String, fontSize: CGFloat = 16, textColor: UIColor = #colorLiteral(red: 0.431372549, green: 0.431372549, blue: 0.431372549, alpha: 1)) {
        self.init()
        
        self.text = text
        self.numberOfLines = 0
        self.textColor = textColor
        self.textAlignment = NSTextAlignment.center
        self.font = UIFont.systemFont(ofSize: fontSize)
    }
}
